﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<Bussiness.Product>>"  %>
<%@ Import Namespace="KiwiShopping.Models"%>
<%@ Import Namespace="System.Web.Mvc"%>
<div style="padding-left:10px">


      <div class="title"><span class="title_icon"><img src="../../Content/images/bullet1.gif" alt="" /></span>Sản Phẩm Mới</div>
      <div class="new_products">

        
        <% foreach (var product in ((IEnumerable<Bussiness.Product>)ViewData["ListProductNew"]))
           { %>
          <div class="new_prod_box"> <a href="/Products/ChiTietSanPham/?ID=<%= product.ID%>">Mã:  <%= product.Code%></a>
          <a href="#">Giá:  <%= Bussiness.Service.Utils.FormatDecimal(product.PriceExprort) %></a>
          <div class="new_prod_bg"> 
            <a href="/Products/ChiTietSanPham/?ID=<%= product.ID%>"><img src="<%= product.PathImage%>" alt="" class="thumb" border="0" width="100" height="100" /></a> 
          </div>
        </div>       
        <% } %>




        <%--<div class="pagination"> <span class="disabled"><<</span><span class="current">1</span><a href="#">2</a><a href="#">3</a>…<a href="#">10</a><a href="#">11</a><a href="#">>></a> </div>--%>
      </div>

      </div>
